package com.sciencep.pro.core.domain.dto.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author libe
 */
@Data
@Accessors(chain = true)
public class UserListRequestTO {



    String userName;

    String mobile;


    Boolean isAdmin;

    Boolean isResign;

    Boolean isSenior;

    String deptId;


    String roleId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    Date hiredDateStart;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    Date hiredDateEnd;

}
